package cn.whit.blog.service.impl;

import java.sql.SQLException;
import java.util.List;

import cn.whit.blog.dao.StatisticalDao;
import cn.whit.blog.domain.Statistical;
import cn.whit.blog.domain.StatisticalType;
import cn.whit.blog.service.StatisticalService;
import cn.whit.blog.util.BeanFactory;

public class StatisticalServiceImpl implements StatisticalService {
	
	StatisticalDao statisticalDao = (StatisticalDao)BeanFactory.createObject("statisticalDao");

	@Override
	public List<Statistical> findAllByTblogIdAndType(String blogid, StatisticalType statisticalType) throws SQLException {
		return statisticalDao.findAllByTblogIdAndType( blogid, statisticalType);
	}

 
	 

}
